package com.traffic.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.traffic.entity.QueryResult;
import com.traffic.entity.RtDriveData;
import com.traffic.entity.Trajectory;


import java.util.List;
import java.util.Map;

public interface TrajectoryService extends IService<Trajectory>{

    Long insertTrajectory(Map<String, Object> Param);
    Long insertTrajectory(Long uid);

    int updateTrajectory(Map<String, Object> trajectoryParam);

    QueryResult queryList(Long userId, Integer currentPage, Integer pageSize);

    QueryResult queryList(Long userId, Integer currentPage, Integer pageSize, Map<String, Object> param);

    Integer addComment(Long id, String comment);

    String getComment(Long id);
}
